How can I use a branch name which contains a forward slash in a Get request
My branch name has a forward slash e.g. test/homepage-feature
I want to use the following GET request to get the last branch build. When I use that, I'm getting 404 error "message": "Build not found or access denied."
Could you please let me know if the GET request supports a branch which contains a forward slash?
Reference https://www.appveyor.com/docs/api/projects-builds/#get-project-last-branch-build ,
Comments are currently closed for this discussion. You can start a new one.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Feodor Fitsner on 31 Oct, 2020 02:22 AM
Have you tried
2 Posted by weerayuth_r on 31 Oct, 2020 02:50 AM
Yes, I have. It doesn't solve.
"message": "Build not found or access denied."
Support Staff 3 Posted by Feodor Fitsner on 31 Oct, 2020 02:55 AM
OK, it works without an encode. Try this in your browser:
4 Posted by weerayuth_r on 31 Oct, 2020 04:30 AM
I have double-checked. It works for me now. The reason why it didn't work when I tried first time is because I cancelled the build of my branch after it's stuck in the queue.
After I re-ran the build, the GET request is working with my branch.
weerayuth_r closed this discussion on 31 Oct, 2020 04:30 AM.