40,518 questions
Best practices
0
votes
0
replies
24
views
Post to a FB Page on behalf of a client who is an admin
I have a web app that has a button that used to work. It sent the user to their Facebook "Page" page along with content for them to post. That has stopped working recently.
I need to know ...
1
vote
1
answer
101
views
Spring Boot 3 + Spring Security 6: 403 Forbidden when sending POST from Postman (stateless API)
I’m testing a POST endpoint of a stateless API (no sessions/forms) and Postman returns 403 Forbidden. I suspect CSRF, but I’m not sure how to configure it correctly in Security 6 for a stateless REST ...
-2
votes
1
answer
86
views
Libwebsockets client not see response on POST request
Minimal client (code below) send POST request, but not see response from the server. After LWS_CALLBACK_CLIENT_HTTP_WRITEABLE client waiting about 15 seconds and reset session. I see server answer in ...
0
votes
0
answers
66
views
Blazors <EditForm> component cannot be used to submit login forms on SSR pages. [.NET 9.0 | InteractiveAuto solution]
I am using .NET 9.0, my statically rendered login page results in an error when it's submitted:
A valid antiforgery token was not provided with the request. Add an antiforgery token, or disable ...
0
votes
1
answer
82
views
HTTP Request Through Ncat in Powershell Windows
I am using Ncat to send raw HTTP requests to the backend JS server. I will add here the backend and frontend files. We write ourselves, which is the goal of the task.
I have installed Ncat and I send ...
-1
votes
1
answer
80
views
How to change camelCase to snake_case in the body of a request?
I want to transform camelCase to snake_case and still allowing snake_case in the body of a POST request.
I mean, If the request has a camelCase body i want to transform to snake_case and if the ...
0
votes
0
answers
47
views
Power Automate API to Mulesoft IDP Document Action base64ToBinary Error
I'm trying to create a Power Automate Flow in cloud that sends a PDF to Mulesoft's IDP. I already created a document action on Mulesoft's site so I have the POST URI ready to go.
For some reason, when ...
0
votes
1
answer
81
views
HTML Post array from single hidden input passes an array but PHP not processing it correctly [duplicate]
I have read quite a few posts on this, most provide various solutions but none are really addressing the underlying "why"? I can't figure out PHPs behavior when processing a single $_POST ...
0
votes
1
answer
53
views
Blazor server connection disconnected error when sending Excel file as streamcontent to ASP.NET Core Minimal API endpoint
I am using Telerik Blazor TelerikFileSelect component to select an excel file and send it as a StreamContent to ASP.NET Core Minimal API endpoint. I do not see any issues when I send a 13 KB Excel ...
0
votes
1
answer
23
views
Cannot POST /put-crud
I am trying to build a REST API out of Nodejs
this is the form to edit user information
<form action="/put-crud" method="POST">
<div class="form-row">
...
1
vote
1
answer
40
views
Error 404 when sending data to app.py through Flask website
My website is supposed to send data from a form through my app.py, which then forwards it to my database. In the terminal, I can see that it sends the POST to the app, but then the website itself 404'...
0
votes
1
answer
96
views
How to send a POST request with JSON body using Total.js Flow interface?
I'm using the Total.js Flow interface (no-code/low-code) and I need to send a POST request to an API endpoint with a JSON body.
I tried using the HTTP and HTTP Request component, but I can't find an ...
1
vote
1
answer
78
views
How can i have spa application with form based on post working?
So i have spa app inside of wordpress it just loads php files in my theme:
Functions.php
add_action('wp_ajax_wczytaj_sekcje_profilu', 'ajax_wczytaj_sekcje_profilu');
function ...
1
vote
1
answer
48
views
Django DRF, Cannot reproduce POST request using APIClient and APITestCase, payload fields are removed
I have the following setup in Django DRF:
class TagSerializer(serializers.Serializer):
id = serializers.UUIDField(read_only=True)
name = serializers.CharField(required=True)
style = ...
1
vote
1
answer
73
views
Django DRF, create an Item with associated tags whether they exist or not
I have the following create function for ItemSerializer class. It aims to create new Item with tags, creating tags on the fly if they does not exist or getting them if they exist.
class TagSerializer(...
0
votes
0
answers
30
views
Salesforce POST Requests Failing in Microservice in a Specific Environment
I'm doing an implementation of salesforce with an external company, and after successfully completing the testing phase, a problem has arisen in production with the microservice in the ECS service of ...
0
votes
1
answer
64
views
Include an Id in a HTTP POST request body that supports wildcard search
There is a java, REST API based web application which uses HTTP POST request to search a user specific parameters including wildcards. The same application uses GET request to get specific resources ...
0
votes
0
answers
57
views
Sending an XML file in a multicontent POST file using .NET
I've run into some trouble trying to send a multi-content POST from a .NET application to another .NET application. In this particular example, I am receiving an XML document in a string, and then ...
1
vote
2
answers
83
views
Wordpress Plugin PHP Multiple Forms in a Single Page Empty Post Request
I'm building a WordPress plugin that has a page that consists of multiple forms. Each form is a step. Here's my form-handler:
<?php
class Form_Handler
{
public function init_funnel()
{
...
0
votes
1
answer
92
views
Hubspot Form Submission returning 415 Unsupported Media Type
I have a simple HTML signup form posting to Hubspot. When I put the form in my website (via WordPress) it renders fine. When I enter values and press submit, the request is made, but the response ...
0
votes
1
answer
110
views
Inclusion of @FormDataParam annotation(s) results in 400 Bad Request (Jersey 3.1.10, Java 17, Tomcat 10) for multipart/form-data requests
I have an existing REST API (has been around for years now and I'm the original author) which has multiple end-points. I just added a new end-point for uploading files. The end-point method resource ...
0
votes
0
answers
80
views
No message available 404 Not Found Spring Boot
I have a controller which has 2 services. One of them(getCustomer) works just fine when I call from Bruno. But the second one which is getEdwProcLog does not respond to Bruno calls. Here is the ...
1
vote
2
answers
126
views
TryUpdateModelAsync returns false when model and Linq are correct
I'm having a weird one here.
I'm doing Microsoft's Razor and EF tutorial and I don't know what's wrong with this code:
public class Student
{
public int ID { get; set; }
public string LastName ...
0
votes
0
answers
181
views
Trying to create vercel deployment through vercel rest api but get always get error: "incorrect_git_source_info"
I have read the documentation, over and over and so I know the gitSource in the body is correct as it has all the required values of type, repoId and ref (I even tried with adding the sha too, which i ...
0
votes
2
answers
79
views
Non Expected Format of JSON Received By Express App (Sent By Fetch API)
I am new to nodejs/express and I have stumbled across a seemingly simple, yet annoying, problem in a web app I am developing. Essentially, I am trying to send a post request to an Express App that ...
0
votes
1
answer
33
views
Post http does not send it body as part of request to my server
I built a weather app it works fine on my local machine but after deploying the server to railway and frontend to netlify the http post method no longer send the body just the headed
I mean when i try ...
0
votes
1
answer
53
views
Laravel 10: getting 404 Not Found on a POST route when using Form Request Validation
Within a Laravel project, I want to create a POST /movies route associated with a controller that has been created with its model:
sail artisan make:model --controller --api --requests -- Movie
which ...
3
votes
1
answer
170
views
R shiny - Return json from server.R to POST request
I'm trying to use shiny to mimic an API.
I've got a shiny app that reads parameters in the url (with parseQueryString(session$clientData$url_search)), computes a map based on those parameters, and ...
0
votes
1
answer
74
views
How do I pass form data to the next form page after sending to a php mailto page?
I have a few forms on my website which I need site visitors to submit in sequence.
'form1' sends the user data to the (php mailto) form mailer.
The header(location) of the form mailer then directs the ...
0
votes
1
answer
261
views
Post Request Not working for scraping a website
Step 1: Send a GET request to fetch the page and extract hidden form values
We'll first send a GET request to the page and extract necessary hidden form values like __VIEWSTATE, __VIEWSTATEGENERATOR, ...
0
votes
0
answers
49
views
Format code (HTML) with Codepen Prefill Post
Using CodePen "POST to Prefill Editor". Everything works fine except for the fact the HTML is not formatted. Difficult to send formatting in a POST so wondered if there's a parameter that I ...
0
votes
0
answers
44
views
Linkedin Version 202501 API Not enough permissions to access: partnerApiConversions
I am encountering an error when using the Linkedin-Version 202501. However, it works fine when I downgrade to version 202411.
Request Header:
https://api.linkedin.com/rest/conversions
Request Body:
?...
1
vote
1
answer
49
views
Manually access content from Form fields in Django
I'm in a position where I would like to submit content to a form that is not defined in a Forms class.
For example, in my forms.py:
class AnalyseForm(forms.Form):
TYPES = (('a', 'Type A'),('b', '...
0
votes
2
answers
43
views
Scrapy Splash Form Request method is not POST
I use this request to do form request using scrapy splash, but it said the method was NONE and Splash can only process GET and POST
yield SplashFormRequest(url,
args={'wait': 5,
...
0
votes
0
answers
89
views
How to debug this Google Lens URL?
I'm basically came across a code which used local images for Google lens search but I can't understand how the encdoded_image works or where did they get from?
from requests import Session
url = &...
0
votes
1
answer
251
views
How to Scrape Data from Bayut (DLD-Validated Properties) Without Getting 401 Error?
I'm scraping real estate data from Bayut using Scrapy but can't extract thethe green tick (DLD-validated info)
The information is fetched via a POST API with basic authentication.
Calling the API in ...
0
votes
0
answers
42
views
Axios POST request in React Native Returns 419 Error While Insomnia Request Works
I'm developing a React Native app that makes a POST request to the following endpoint:
https://www.animeunity.so/livesearch
When I test the request extracted from my browser in Insomnia, it works ...
-1
votes
1
answer
151
views
httpx Library vs curl program
I am trying to use the httpx library to POST a file through a website provided API. The API requests some additional headers.
Here is my Pyhton script:
#!/usr/bin/python3
import httpx
files = {'file':...
-1
votes
1
answer
36
views
window.postMessage({ trigger: "startCounting" }, "*"); does not trigger
i have a rolodex counter that i need at times to trigger the animation via posting a message
it does not work, instead of the two digits animating counting, only a single digits flickers without ...
1
vote
1
answer
2k
views
Post multipart/form-data using pythons httpx library only form data
How do I send a POST with python HTTPX that will minic a CURL POST that works? This is to an opengear rest API. I believe it has to do something with the data field of the post.
This is the working ...
0
votes
0
answers
46
views
Ajax call with CSRF protection 403 forbidden CI4
I am working on translating a page from Codeigniter 3 to Codeigniter 4, and have session based CSRF protection enabled in CI4. For some reason, even though I can see the CSRF name and CSRF hash in ...
0
votes
1
answer
338
views
Form Validation Responses with Inertia and Laravel 11
I'm having a form like:
<form @submit.prevent="submitForm">
<div>
<span v-if="form.errors.zipCode">{{ form.errors.zipCode }}</span>
<...
0
votes
2
answers
57
views
XmlHTTPRequest not returning Error Status from server after POST
I have been writing an embedded webserver on a small micro. I have many things working and can serve up webpages, etc. One page allows the user to upload a new firmware file. I have this working ...
0
votes
0
answers
56
views
retrive form data in controller method in codeigniter 4 and routs requirements
i have a form submission in my view page as follow:
<form class="propertyForm" method="POST" action="<?= url_to('props.estimate.price'); ?>">
<...
1
vote
0
answers
18
views
ruby-on-rails Why doesn't the delete function work?
The article deletion function doesn't work. I tried to fix it but it didn't work.
Details of the source code can be found at
https://github.com/chikashishirozu/tweet_app.
config/routes.rb
Rails....
0
votes
0
answers
34
views
How to always get the status of the robot when using POST request and not make the app crashing
I created a Windows application in Python and the Kivy framework. The main feature of the app is to post the request on the server in API through a button. The server will send the task to a robot and ...
1
vote
1
answer
61
views
Submit form data using WinInet (C++)
I'm a professional lawyer and an amateur programmer (mainly C++). On a daily basis, I must access the same website and search for tons of court cases (plain text). Recently, I came up with the idea of ...
0
votes
1
answer
47
views
Apache: WSGI not routing
I am trying to use WSGI with a URL that I need to be able to POST to under Apache 2 (using flask). I am able to run my .wsgi independently of Apache (python cfg.wsgi) and it handles GET and POST ...
0
votes
0
answers
24
views
How to know in advance what format/columns POST API is expecting?
I am trying to send some data to an API.
All information I have is:
ImportUsersFile
Verbs
POST
Requires authentication
False
Parameters
jobName: string
token: CancellationToken
The information is ...
0
votes
0
answers
107
views
NodeMCU ES8266CH340 Send POST request with WifiClientSecure and SSL fingerprint is failed. Returned httpCode -1
I've NodeMCU ESP8266CH340. Unable to verify fingerprint of SSL (Issued by Google Trust) with WifiClientSecure. I don't want to set client.setInsecure(); or bypass SSL verification. POST request failed ...