Category "request"

WebDAV return 401 - How to authenticate?

I have a problem with WebDAV. I have to get a list of files. I have this request: <?xml version="1.0"?> <D:searchrequest xmlns:D = "DAV:"> <D:sq

Telegram bots API responds 403 Forbidden

I'm fairly new to programming and I want to make a simple bot for telegram. After creating new bot using bot father and getting token, I made a simple HTTP post

Bad Request, Your browser sent a request that this server could not understand

There are two application servers and a switch. When i access application by using application server ip it works fine. However if i use switch ip in my url Bad

How to upload large video file to DooStream

I try to upload a large video file to DoodStream but using Python and requests. My code: from requests_toolbelt import MultipartEncoder import requests import j

How to pass context in golang request to middleware

I am trying to understand how the context introduced in Golang 1.7 works and what would be the appropriate way to pass it to middleware and to a HandlerFunc. Sh

Cannot get file of FormData (angular 13) from Symfony 5.4

I hope you are fine, I have a problem to get file of FormData in Angular 13 send to Symfony 5.4. onFileSelected1(event:any){ const file:File = event.t

React: How optimize a custom hook that shares data?

I have a Custom Hook similarly with the below: import { useEffect, useState } from 'react'; import axios from 'axios'; const myCustomHook = () => { cons

Error "MetaMask - RPC Error: results is not defined" appeared in none changed code

My app was working without errors with Metamask and Smart Chain - Testnet. Nothing was changed but now I receive MetaMask - RPC Error: results is not defined wh