Yesterday, I using AngularJS to make put requests. Because I forgot the second paramet of the http request, which is for request parameter and I didn't have any, my request would fail with a really weird and long link. Forgetting to put an empty array {} what interpreted by js like I was passing my whole function anonymous functioin as a parameter. Took me 15 minutes to debug.
I'm also notorious for typos that create bugs that block me for some time.
Yeah I feel you. This definitely makes me feel like a developer when I come across these things. But it's a good feeling when you finally figure it out!!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yesterday, I using AngularJS to make put requests. Because I forgot the second paramet of the http request, which is for request parameter and I didn't have any, my request would fail with a really weird and long link. Forgetting to put an empty array
{}
what interpreted by js like I was passing my whole function anonymous functioin as a parameter. Took me 15 minutes to debug.I'm also notorious for typos that create bugs that block me for some time.
Yeah I feel you. This definitely makes me feel like a developer when I come across these things. But it's a good feeling when you finally figure it out!!!