Category "post"

What is the difference in localhost:8000 and http://127.0.0.1:8000?

I am running a Django project with react redux (trying to implement authentication system) and the very weird thing i observed that my site is rendering properl

AJAX: Can I POST an array/data from my GET request? (Flask)

question similar to AJAX/FLASK/JS: How to POST existing array into endpoint?, a new question I've posted but this doesn't specifically help with the new issue,

unable to send post request in dio - flutter

I'm trying to send Post request from Flutter(dio) to my Flask Restful API and I want to give the request body in form-data because an image file needs to be sen

Losing session data after POST from third party website

I have a Laravel site that redirects to a payment provider (external third party website). When the user completes their payment, they are redirected back to my

How to post an image file with a list of strings using FastAPI?

I have tried a lot of things, but it doesn't seem to work. Here is my code: @app.post("/my-endpoint") async def my_func( languages: List[str] = ["en", "hi"]

Phonegap ajax request error - 'certificate has expired'

My server SSL certificate has expired, so I renewed it. But when I try to access the server through my PhoneGap app (POST request), it throws a 'certificate has

I need to send the request correctly, but I don't know how to get the required values from objects

How to get a new list from the list of objects? I need a new list of objects to POST request this list of objects i get from response: { "success": true, "b

node.js express req.body undefined

var express = require('express'); var app = express(); var PORT = 3000; const bodyParser = require('body-parser') app.use(bodyParser.json()) app.use(bodyPar

Node/Express Cannot POST error (React frontend)

For my React/Express app, I've already built my backend API in Express, including a route for posting a blog post (/api/posts). On the front end, I built a form

Can't retrieve data from POST in django view

I have issue with retrieving data from POST in my django view. I send React form values with axios to my django backend. I believe data gets put into POST but s

How to set Object array to CURL POSTFIELDS?

I'm gonna send json array field using CURL POSTFIELDS. but not working. JSON data is below: { "Searches": [ { "Facets": [

Spring @Valid Message Not Coming Through in Response

I have a CQRS Rest API using Spring and Axon. Validation is setup for inputs using the javax.validation library. The validation is working properly, and catchin

CSRF token is not set when first accessing Laravel Application on shared hosting (419 Page Expired)

I deployed my laravel application in a shared hosting system and the application works fine, but every time I open the website for the first time in a new brows

Coinbase Api Java POST request "Invalid Signature"

I am trying to send a POST request to the coinbase sandbox endpoint. When signing the request I always get an "Invalid Signature" response. It seems that coinba

how to create a new user with postman and assign group in keycloak?

I have this JSON to create a new user, which works for me, but it doesn't assign the group declared in the groups "groups":["APIs"] tab to the user json: {

POST json data (stored as json files in ADLS) to REST endpoint in Azure Data factory

I have a requirement to POST json data (stored as json files in ADLS) to REST API endpoint. I have to use Azure Data factory for this. I have gone through Micr

React state not updating after a post request?

I'm trying to send a post request to my backend with axios, and my backend gets the values with no problem, but I want to set a state of (sent) to true when the

Content type 'text/plain;charset=UTF-8' not supported for post request in angular 4

I'm using post request with HttpClient like below, return this.httpclient.post<any>(url, body) .catch(this.handleError) then it gives me be

Single unexpected null value in a request while testing a rest controller with soapUI

I have a Controller which receives a request object via SoapUI (screen below). What confuses me it is that only one of the 2 attributes of this request object i

Where does a failed POST request 403 error appear in IIS 10 logs? What's the source of the error?

A POST request to the IIS 10 web server gets a 403 forbidden response. All other GET and POST requests work fine except for this one page. But in the IIS logs