40,532 questions
Best practices
0
votes
0
replies
21
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
99
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 ...
-3
votes
1
answer
77
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
56
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
80
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
71
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
43
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
79
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
47
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
22
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
92
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
72
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
44
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
66
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(...