Category "post"

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

Redirect to previous page with php

The submit button is in contact-us.html, the code is in contact-us.php. I tried to use the header('Location: example'); with no luck... (I tried using the URL

Using axios.post, response.data return html instead of data [Nodejs, React]

What I want is, when I click SUBMIT button, it should post some data using axios.post const sb = async () => { axios.post('/tagSearch',{ qual: qual

How to base64 encode inputs in React?

I am trying to post two inputs with axios and I want to base64 encode them before I send them.

Retrofit2 post request is successful but I'm not able to retrieve token from response body

So I'm trying to making a login(post) request to an API (https://reqres.in/api/login) with retrofit 2. The connection was successful as the response code is 200

How to do a POST Request with PlayWright

I have been stuck with this for a bit. I need to test a website and I need to post info in order to test if it appears on the page. What I have so far is this