Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a web page that only contains a List My Courses button. When user clicks the button, the page should list the courses you are

Design a web page that only contains a "List My Courses" button. When user clicks the button, the page should list the courses you are currently taking by using the Canvas Web Service API. You may try to use AJAX or PHP. If you can/cannot use AJAX to retrieve the information through the Canvas Web Service API, explain the reason for each. this is my token : 9~vNoQyMHQrYpbIfKUqw2o3B7uwnKprp6ZfotHVT22sLmSjE7S4UQuWW4lUqf7wrnF 

get current class that i take

 $("button").click(function(e) { e.preventDefault(); $.ajax({ type: "GET", url: "/api/v1/users/"+$user_id+"/courses", data: { access_token: $("#access_token").val() }, success: function(result) { alert('ok'); }, error: function(result) { alert('error'); } }); }); 

i try it but it doesnt work can you help me

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Develop a program for effectively managing diversity. page 303

Answered: 1 week ago

Question

List the common methods used in selecting human resources. page 239

Answered: 1 week ago