This content originally appeared on DEV Community and was authored by JungDaeSuh
Sparta Coding Club: Camp Learning for Tomorrow - Today I learned Day 5(9.17.2021.Fri)
Notes for Future References
API:
- GET: read
- POST: create, update, delete
AJAX
$.ajax({
type: "GET",
url: "",
data: {},
success: function (response) {
console.log(response)
}
})
- "Type" refers to a type of HTTP method it's using.
- "url" for the url where you want to request data.
- "data" for data to SUBMIT. In this case, the function is only for requesting, so no need for "data."
- "success" - "A callback function to be executed when Ajax request succeeds" reference: https://www.w3schools.com/tags/ref_httpmethods.asp
Today's Event
- A lecture from a backend developer about how to learn and improve as a programmer (e.g. reflection and feedback from others), and open source projects and git and github.
- A code review with study mates.
- An app-making-test with only one hour given. Only completed about 1/5 of it. Learned a lot about what I need to learn and improve.
- The test required some understanding of jquery, ajax, and flask.
Note: I'm an aspiring developer from South Korea who just started a boot camp. I will be posting almost daily as a log to record my progress.
This content originally appeared on DEV Community and was authored by JungDaeSuh
JungDaeSuh | Sciencx (2021-09-17T16:04:03+00:00) Today I learned day 5. Retrieved from https://www.scien.cx/2021/09/17/today-i-learned-day-5/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.