postman-code-generators
postman-code-generators copied to clipboard
Add angular http call snippet in Generate Code Snippets
Hi, Please can u add an Angular HTTP call snippet in Generate Code Snippets, That will very help full. Thanks
I can work on this.
@umeshp7 can I work on this?
Yes please
On Wed, Sep 23, 2020, 4:20 AM Abhirup Pal [email protected] wrote:
@umeshp7 https://github.com/umeshp7 can I work on this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/postmanlabs/postman-code-generators/issues/345#issuecomment-697032572, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAQ6MOHXALGW2GHUYZEPI3SHEWNJANCNFSM4RVU3JQA .
I wanted to ask how to do I compile it down to js. It would require angular core and the package has to be imported in appmodule, that is the case in the framework. This can be done syntatically but it can't be tested. Further thoughts would be helpful. @umeshp7 @Ijaz-Tufail
You can do this just like JQuery/AJAX call syntax. You can write code to import the HttpClient module from "@angular/common/http" and write an Http call syntax angular has provided.
On Wed, Sep 23, 2020 at 11:14 PM Abhirup Pal [email protected] wrote:
I wanted to ask how to do I compile it down to js. It would require angular core and the package has to be imported in appmodule, that is the case in the framework. This can be done syntatically but it can't be tested. Further thoughts would be helpful. @umeshp7 https://github.com/umeshp7 @Ijaz-Tufail https://github.com/Ijaz-Tufail
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/postmanlabs/postman-code-generators/issues/345#issuecomment-697822678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAQ6MPUE4NP7ZSD4BGQKS3SHI3J7ANCNFSM4RVU3JQA .
The writing is not the problem, I am versed in angular. How to compile and run it, providing the syntax is not the issue. Adding tests and making sure it runs is the issue. @Ijaz-Tufail
@Abhirup-99 Hello, are you working on this issue? were you able to compile and run it?
@Abhirup-99 Hello, are you working on this issue? were you able to compile and run it?
I couldn't compile it down. I can write the syntax down, but compiling it would require angular cli and the other stuff, which would be difficult to bring about.
No, I'm not working on it. You have to create an angular app to test it.
On Tue, Oct 6, 2020, 7:53 PM Abhirup Pal [email protected] wrote:
@Abhirup-99 https://github.com/Abhirup-99 Hello, are you working on this issue? were you able to compile and run it?
I couldn't compile it down. I can write the syntax down, but compiling it would require angular cli and the other stuff, which would be difficult to bring about.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/postmanlabs/postman-code-generators/issues/345#issuecomment-704324471, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAQ6MLIZH3IS7SW2YEM6LDSJMVNZANCNFSM4RVU3JQA .
Ok. I am working on it.
Any updates on this feature?
Any updates on this feature?
Any updates on this feature ?