Currently I use Angular 2+ in some applications and I'm having trouble solving color problems. When the request is made by Postman, everything happens as expected, but when I try through my application, a cors error is thrown on the console info...
HTTP / HTTPS requests are sent as text having the format:
In order:
The starting line with the HTTP method and the
Headers in the format chave: valor
A blank line
The request body
Is it possible to get the complete s...
In a simple application made with React created with create-react-app , using Docker template of some link ( Apache , for example), it is common to use a rule in Rewrite with /* passing to /static/ forcing to go to index.h...
I'm trying to send the data both in the URL and in the body using the PUT the idea was to make it work just like the POST method, but being the PUT method.
This is because I see many requests where the url would be / book / and in the body wo...
I would like to know if there is a maximum amount of elements that I can send from one form to another via POST as well as via GET .
I know that if I pass my data via GET , there is a maximum length of URL , varying a...
If I have an API that requires two mandatory parameters to be consumed, how should I insert them into a $ http request?
self.buscaPrestadores = function()
{
$http({
method: 'GET',
url: self.urlPrestadores,...
I'm trying to consume an API using Perl + SOAP :: Lite, for simple requests I can consume the API and get the result, however I need to make a more complex request to access a given API service and I'm having problems.
Below is the code I'm w...
When I call the following URL: link directly in the browser or in POSTMAN I get the JSON correctly , but when I try to call the same link via GET in the Angle, I get the error: "Failed to load link ...: Origin ' link > 'is therefore not a...
I'm trying to consume a given Json from an http address, but
I do not know what's going wrong.
I've split the question into two groups my other doubts
import { ComprasService } from './compras.service';
import { Compra } fro...
My validator returns the errors in the request.
I would like to check if the variable I save my errors has the email error to then return the correct response.
I tried something like:
public function register(Request $request)
{...