Since you answered in the comments that you can connect from WSL to Windows while the VPN is active, the easiest way to do this is to set up the OpenSSH server in Windows. I typically prefer using ssh to tunnel/forward traffic for situations like this. Altair looks promising, but it appears to be typically installed on Linux as a Snap (which doesn't work well under WSL2). However, if your API is GraphQL-based, then I'm not sure I can offer up a better alternative than Postman at the moment. Highly recommended - I recently used it several times working with the Stack Exchange API, and I'm not sure I'll ever need jq again. Nushell for parsing JSON and many other structured data types. jq - the standard and powerful tool for parsing JSON data.It's a much richer alternative to curl or wget. HTTPie for the REST operations that interact with your API.Nothing wrong with that, and we'll still see if we can come up with answer for that. That's not to say that your use-case might be different, or that you might just prefer Postman since you are familiar with it. I've used Postman in the past, but since using WSL, I really haven't found a need for it personally. Your needs might be met (and potentially better served) in Ubuntu with actual Linux tools. The other, when I figure it out (or if someone else does) will address the actual networking question.īut for this answer, let me suggest that you might not actually need Postman on Ubuntu/WSL2 if your API is REST-based. I think I'm probably going to answer your question twice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |