Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
25 views

Remove backslash from escaped forward slash in a string

I have an array(imageURLS) of string in js. Used 'fetch' to send the array as JSON.stringify(imageURLS) to savedesign.php. The array elements are like ['shop/2.png' , 'shop/3.png']. But each elements ...
zaman's user avatar
  • 29
0 votes
1 answer
24 views

Print values from json and html files stored in different folders with variable names

I'm automating some tests, every run generates a folder with a variable name. Inside every one of those folders there's a "statistics.json" and a "index.html". For each folder I ...
Amphata's user avatar
  • 27
0 votes
1 answer
31 views

CSV backslash create issue while procession file data

I am trying to process a CSV file in which one column contains JSON formatted data. In this JSON data, some fields use backslashes, which creates a problem when mapping fields with their values. Link ...
Siddhart hundare's user avatar
-3 votes
0 answers
38 views

Podcast episode update [closed]

I am new to here and web development. I am building my first project and it happens to be a proper website for my podcast. It's been one of my top passion projects as I've always wanted to give my ...
odysseywow's user avatar
-1 votes
0 answers
46 views

How to show Json String Value of a XML Node? [closed]

I require to generate xml of the following format. <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">[{"Name":"Sachin&...
Sachin's user avatar
  • 119
-1 votes
0 answers
20 views

understanding json_decode data [duplicate]

When I use json_decode and look at the results, I get a list of objects and arrays. I specifically want to retrieve one piece of information, but I'm not sure how to get it. I seem to have a stdClass ...
kenwat's user avatar
  • 1
0 votes
1 answer
128 views

HikCentral Professional OpenAPI Authentication and JSON data fetch issue

I have been trying to call the parkingfee/calculate API using cURL PHP and I am able to get the 200 status code which means it reaches the server. But somehow the JSON data is not showing up even ...
abraham's user avatar
  • 21
0 votes
0 answers
14 views

allowing cors for custom header / all origin for a single custom api [duplicate]

I have a custom api which is set up to receive customer info from anyone, only able to be read or deleted by people who have a certain header which i had set and would have only been useable by admin ...
Hunter C's user avatar
2 votes
1 answer
47 views

response handling in Js/AJAX

I created a function to update data using AJAX. On xhr.onload, this.responseText is not displaying any value in the console log, and only the else part of the condition is executing, even though the ...
Mujtaba Ahmed's user avatar
0 votes
0 answers
25 views

react and php, Cannot post. Can't find the cause [duplicate]

I was developing my web app with react and I got stuck in the login section. My code was supposed to get the form inputs from the frontend to back end and then sort the data but the issue is that ...
user20617578's user avatar
0 votes
0 answers
39 views

OAuth2 to a Custom API with Curl

I try to get a Oauth2 authorisation and tokens to get a API request for this API there: https://api.hiorg-server.de/docs/courses#tag/Course/operation/coursesGet I have try anything, what works when I ...
Rolf's user avatar
  • 1
-1 votes
0 answers
32 views

why google not showing my website's product price in search result?

i am making to show product price and availability in google search result. but google not showing product price and availability when i search the product on google. here is the code which i store in ...
Himal Poudel's user avatar
0 votes
0 answers
46 views

PHP Session Issue: "User not found" Error When Redirecting Visitors Based on JSON Data

I'm building a PHP-based admin panel to manually redirect users to a specific page after they submit a form. The flow is as follows: index.php: Creates a unique folder for each visitor, stores their ...
medxone's user avatar
  • 11
0 votes
1 answer
78 views

How can I post array of objects like example

I have a problem with calling an API with Laravel. I wont to call an api with a request like this (this is an example of json request): { "costCenterCode":"CDC-00070964", &...
giuseppe pesce's user avatar
-1 votes
1 answer
71 views

Non-null assertions can only be used in TypeScript files.javascript

I've been working on this code base for the past month. And just yesterday, I started facing this problem on a few files. The code is supposed to change the div based on selected options. Here is the ...
rustybladez's user avatar

15 30 50 per page
1
2 3 4 5
2736