Sample project that calls my vb.net Web API using ajax/jquery/javascript

I want a simple page that has two buttons. One button call a get API and the other calls a post api. I will give you the api url and my code. I've attached my code and I get an error of

Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at [login to view URL] (<anonymous>:2:14) at [login to view URL] (file:///K:/projects/Material/material-dashboard-pro-html-v2.1.0/material-dashboard-pro-html-v2.1.0/examples/tables/[login to view URL]:11) at u ([login to view URL]:2:27457) at [login to view URL] [as rejectWith] ([login to view URL]:2:28202) at k ([login to view URL]:2:77676) at XMLHttpRequest.<anonymous> ([login to view URL]:2:79882)]

caller: (...)

length: 2

name: "setRequestHeader"

prototype: {constructor: ƒ}

__proto__: ƒ ()

[[FunctionLocation]]: [login to view URL]

[[Scopes]]: Scopes[4]

state: ƒ ()

status: 0

statusCode: ƒ (e)

statusText: "error"

then: ƒ (t,r,i)

__proto__: Object

Evner: AJAX, ASP.NET, Javascript, VB.NET

Se mere: how to call server side function from javascript in asp.net using ajax, call web api post method from jquery, ajax call in asp.net webforms, call web api from javascript, call server side function from jquery in asp.net without webmethod, call web api from jquery with parameters, calling web api from jquery ajax, how to call web method in asp.net using jquery, consuming net web service using php, consume net web service using vbscript, consume net web service using classic asp, call net web service using axis2 method, add file soap envelope vb net soap api, car shoroom sample project build vb net, cloud computing sample project salseforce asp net, coding creating funcrion vb net web site, combine project files vb net, convert desktop application vb net web application net, convert vb net web application, convert vb windows application vb net web application

Om arbejdsgiveren:
( 167 bedømmelser ) Charleston, United States

Projekt ID: #18814402

Tildelt til:


Hello. I know where is you problem. Can help ypu to solve quick. just letme know if you want my help.

$30 USD på 1 dag
(0 bedømmelser)

2 freelancere byder i gennemsnit $33 på dette job


Hello, I have reviewed your code do let me know when you are available so that we can help you resolve the error. Regards

$35 USD på 1 dag
(0 bedømmelser)