Hi guys, in this lesson we will implement core service. In core service. We will call course micro service operations with HTTP request to do it. Under services, we will create core service class. Class Name really core service. And core service will be exported as core service in default mode TO GET and POST REST API request in Service, we should import axios module.
Then we will describe our API URL. Our API URL will be gateway service pet. Okay, now we can create our methods. Our first method will be create transaction. In this method, we will call enrollment service method. Our enrollment REST API path is API course service Andhra.
We will send data with Jason Our second methods will be filter transactions to filter transactions, we will send GET requests to server side with pretty Rest Asia. Our filter transactions REST API path is API curse service user, plus user ID. Our third method will be filter students. To filter students, we will send a get request to server side with predefined REST API. Our filter students REST API path is API, curse, service, curse, plus curse ID. Our last method will be find all courses.
To get all courses, we will send GET requests to server side with predefined REST API. REST API path is API course. Service. Oh Okay, that's all about cursors implementation. Thank you.