Category "post"

Do browsers block POST requests if POST isn’t in the Access-Control-Allow-Methods value of the preflight OPTIONS response?

I think I understand CORS pretty well, but I'm still a bit puzzled about the browser's behavior when it comes to the preflight requests. Let's say the browser i

Reload does not change POST state

I have a problem where I want to reload the page on submit. I did this with the simple script function shown below. However, the echo'd "hello" does not disappe

Merge multiple POST requests based on the same value of each array. (Angular)

These are the two outputs "statusCode": 200, "data": [ { "color": { "id": "1111", "name": null,

How to read the user input on the client-side, modify it with JS on the client-side, and then POST it to the sever-side (Node.js)?

Problem: I want to read a user input on the client-side, do some processing on the variable using JavaScript, still on the client-side, then POST the modified v

How can I connect to my REST API with powershell (CYPHERTRUST)

I am searching for how to connect to my rest API with a Powershell script I know that I need a to send my Body with the POST Method but cant define how to do it

How do I send request in robot framework for api testing

I am passing username and password in the Post request body but it gives Issue as Client Error: “Not Acceptable for url: https://apiexample.com/demo&rdqu

AJAX/FLASK/JS: How to POST existing array into endpoint?

I am trying to POST the songFiles array pushed from the getTableData() function (inside the ajax request) into the /api/fileNames endpoint, which is then sent t

How can I add whole object as parameter in flutter post request?

"UserDtls":{ "DisplayName": "Picker", "UserName": "Picker", "Password": "", "EncryptPassword": "", "UserId": 5, "Rol

confusion between post and get method [closed]

I'm creating an API which accepts customerid, account number and date as json objects and returns a file whose location is mentioned in the da

Empty Body HTTP Post request Flutter

I am trying to send a Post request but the body of the request is meant to be empty and I have tried the endpoint on postman with an empty body and it works. Bu

Android Volley POST request out of synchronization

I'm using the implementation 'com.android.volley:volley:1.1.1' to make a POST call to a REST web service. Unfortunately, the conclusion (i.e. User does not exis

Can you make api calls in Unreal Engine 5

Is it somehow possible to make api calls like get/post/put/patch...? Or can you install plugins like VaRest for UE5?

How to simulate api calls in C# using php file

I have an online reports viewer application that stores patients records as follows: Web application view: I have created a C# application that is meant to cap

Post Request Returning {"error": "Expecting a string", "result":87}

I am trying to interface with the Chroma SDK released by Razer and have been running into some issues. Following the documentation that razer provides, I have b

Wordpress Form POST Request In Current Page Got Twice

I use wordpress shortcode to create a form and send post request in current page. But I will get twice post request so my mail will send twice. Hope someone can

Relating Wordpress posts to a particular time of the year

I have a 'diary' type blog in which I want to highlight all the posts made around the current day and month, regardless of the year. You could say they need to

WordPress edit post list

I have WordPress kanews theme. I want to list posts by update date. but unfortunately I couldn't. sorts by creation date. how can i solve this problem? List pos

If $_POST is empty Multiple function

I have the following $_POST function to check if the fields of 'start', 'middle' and 'end' is empty or not. if(!empty($_POST['start'])) { $description = "a

React JS fetch post get error object object error

Post api work postman correctly but Rect JS post not working. Console get this error "POST https://localhost:5001/api/request 400 (Bad Request)" . I tried sever

Django PDF parser on POST request

I hope for your help. Because I have been struggling with this problem for a long time. A POST request comes from the frontend with one PDF file, after which I