40,524 questions
Best practices
0
votes
0
replies
23
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 ...
-2
votes
1
answer
78
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
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 ...
0
votes
0
answers
46
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
48
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 ...
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'...
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
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(...
0
votes
1
answer
56
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 ...
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
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 ...
1
vote
2
answers
124
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
2
answers
70
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
51
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 ...
0
votes
1
answer
70
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
0
answers
44
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 ...
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
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
0
answers
38
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
30
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 ...
0
votes
0
answers
42
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
2
answers
49
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 ...
1
vote
0
answers
14
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....
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
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 ...